package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.dto.DishDto;

import java.util.List;

/**
 * <p>
 * 菜品管理 服务类
 * </p>
 *
 * @author 黑马程序员
 * @since 2022-06-06
 */

public interface DishService extends IService<Dish> {

   void saveByDto(DishDto dto);

   DishDto getByDishId(Long id);

   void updateByDto(DishDto dishDto);

   void deleteByids(List<Long> ids);
}
